package com.bawei.base.roleresource.mapper;

import com.bawei.base.roleresource.model.ReRoleResource;
import com.bawei.base.roleresource.model.ReRoleResourceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ReRoleResourceMapper {
    long countByExample(ReRoleResourceExample example);

    int deleteByExample(ReRoleResourceExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ReRoleResource record);

    int insertSelective(ReRoleResource record);

    List<ReRoleResource> selectByExample(ReRoleResourceExample example);

    ReRoleResource selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ReRoleResource record, @Param("example") ReRoleResourceExample example);

    int updateByExample(@Param("record") ReRoleResource record, @Param("example") ReRoleResourceExample example);

    int updateByPrimaryKeySelective(ReRoleResource record);

    int updateByPrimaryKey(ReRoleResource record);
}